package com.whenjun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author whenjun
 * @since 2024-01-30
 */
@TableName("isc_person")
@ApiModel(value = "IscPerson对象", description = "")
public class IscPerson implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("isc用户id")
    @TableId(value = "person_id", type = IdType.ASSIGN_UUID)
    private String personId;

    @ApiModelProperty("工号")
    private String jobNo;

    @ApiModelProperty("姓名")
    private String personName;

    @ApiModelProperty("性别")
    private Integer gender;

    @ApiModelProperty("所属组织路径")
    private String orgPath;

    @ApiModelProperty("所属组织名称，@进行分割，如@默认部门@")
    private String orgPathName;

    @ApiModelProperty("所属组织唯一标识码")
    private String orgIndexCode;

    @ApiModelProperty("所属组织名称")
    private String orgName;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间（传过来的）")
    private LocalDateTime updateTime;

    @ApiModelProperty("本地数据拉取时间")
    private LocalDateTime falshTime;

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getJobNo() {
        return jobNo;
    }

    public void setJobNo(String jobNo) {
        this.jobNo = jobNo;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getOrgPath() {
        return orgPath;
    }

    public void setOrgPath(String orgPath) {
        this.orgPath = orgPath;
    }

    public String getOrgPathName() {
        return orgPathName;
    }

    public void setOrgPathName(String orgPathName) {
        this.orgPathName = orgPathName;
    }

    public String getOrgIndexCode() {
        return orgIndexCode;
    }

    public void setOrgIndexCode(String orgIndexCode) {
        this.orgIndexCode = orgIndexCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getFalshTime() {
        return falshTime;
    }

    public void setFalshTime(LocalDateTime falshTime) {
        this.falshTime = falshTime;
    }

    @Override
    public String toString() {
        return "IscPerson{" +
            "personId = " + personId +
            ", jobNo = " + jobNo +
            ", personName = " + personName +
            ", gender = " + gender +
            ", orgPath = " + orgPath +
            ", orgPathName = " + orgPathName +
            ", orgIndexCode = " + orgIndexCode +
            ", orgName = " + orgName +
            ", createTime = " + createTime +
            ", updateTime = " + updateTime +
            ", falshTime = " + falshTime +
        "}";
    }
}
